﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
    [DataContract]
    public class EmailSentResult : ERPStore.Models.IModelIdentity
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public DateTime SentDate { get; set; }
        [DataMember]
        public string FaultReason { get; set; }
		[DataMember]
		public int CampaignId { get; set; }
		[DataMember]
		public int? OpenCount { get; set; }
		[DataMember]
		public int? ClickCount { get; set; }
		[DataMember]
		public int? UnsubscribeCount { get; set; }
		[DataMember]
		public EmailRecipient EmailRecipient { get; set; }
    }
}
